import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import DefaultLayout from '@/layouts/DefaultLayout.vue'
const routes: Array<RouteRecordRaw> = [

  {
    path: '/',
    name: 'index',
    component: DefaultLayout,
    children: [
      {
        name: 'signing',
        path: '/signing',
        component: () => import(/* webpackChunkName: "signing" */ '../views/signing/index.vue')
      }
    ]
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
